package com.doraro.platform.module.device.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.doraro.platform.common.beans.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author doraro
 * @since 2019-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("repair_advice")
@ApiModel(value = "RepairAdvice对象", description = "")
public class RepairAdvice extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "工程师id")
    private String engineerId;

    @ApiModelProperty(value = "维修方案")
    private String repairInfo;

    @ApiModelProperty(value = "维修花费")
    private BigDecimal cost;


    @ApiModelProperty(value = "0-建议中 1-采纳 2-拒绝")
    private Integer sStatus;


}
